//
//  PersonNetWork.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/18.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PersonInfo.h"
#import "SellerInfoModel.h"
#import "CardInfoModel.h"
#import "ShareContentModel.h"

typedef enum {
    MyListKeep,
    MyListBrowse
}MyList;

@interface PersonNetWork : NSObject

+ (void)getPersonInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSString *errorCode,PersonInfo *info))response;

+ (void)modifyPersonInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;

+ (void)upLoadImageWithParame:(NSDictionary *)parames image:(UIImage *)image response:(void (^)(BOOL success,NSString *msg,NSString *path))response;

+ (void)getMyListWithParame:(NSDictionary *)parames type:(MyList)type response:(void (^)(BOOL success,NSString *msg,NSArray *lists))response;

+ (void)getShareContentWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,ShareContentModel *model))response;

+ (void)getAddInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,SellerInfoModel *model))response;

+ (void)optionWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;


+ (void)editCardInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;
+ (void)cardInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,CardInfoModel *info))response;
+ (void)getOtherCardInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,CardInfoModel *info))response;
+ (void)getSourcesWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSArray *sources))response;

+ (void)getIntegralWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSInteger integral))response;
+ (void)getIntegralDetailWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSArray *integrals))response;

+ (void)getSaoCardInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,CardInfoModel *info))response;

+ (void)addCardFriendsInfoWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;

+ (void)getMyTeamListWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSArray *lists))response;

+ (void)getNearAdderWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSArray *lists))response;

+ (void)allowLookCardWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;

+ (void)getServiceWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSString *service))response;


+ (void)getMyReportListWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSArray *lists))response;

@end
